package xsd.domain;

import org.dom4j.Element;

import java.util.List;

/**
 * Created by donar on 17/3/10.
 */
public class ComplexType implements Type {
    String order;
    List<ElementNode> sequence;
    String name;
    List<Attribute> attributes;
    List<ElementNode> choice;

    public List<ElementNode> getChoice() {
        return choice;
    }

    public void setChoice(List<ElementNode> choice) {
        this.choice = choice;
    }

    public List<Attribute> getAttributes() {
        return attributes;
    }

    public void setAttributes(List<Attribute> attributes) {
        this.attributes = attributes;
    }

    public String getOrder() {
        return order;
    }

    public void setOrder(String order) {
        this.order = order;
    }

    public List<ElementNode> getSequence() {
        return sequence;
    }

    public void setSequence(List<ElementNode> sequence) {
        this.sequence = sequence;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }
}
